/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.mer.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 运营内容标签Entity
 * @author huanghaiming
 * @version 2017-07-13
 */
public class OperationContentTag extends DataEntity<OperationContentTag> {
	
	private static final long serialVersionUID = 1L;
	private String opercontentId;		// opercontentid
	private String tagId;		// 标签Id
	
	public OperationContentTag() {
		super();
	}

	public OperationContentTag(String id){
		super(id);
	}

	@Length(min=0, max=64, message="opercontentId长度必须介于 0 和 64 之间")
	public String getOpercontentId() {
		return opercontentId;
	}

	public void setOpercontentId(String opercontentId) {
		this.opercontentId = opercontentId;
	}
	
	@Length(min=0, max=64, message="标签Id长度必须介于 0 和 64 之间")
	public String getTagId() {
		return tagId;
	}

	public void setTagId(String tagId) {
		this.tagId = tagId;
	}
	
}